/**
 * Created by 10191042 on 2019-09-24.
 */

var navigatorModal = [];

function getNavigator(url) {
    if(navigatorModal.length > 0)
        return navigatorModal;
    $.ajax({
        url:url,
        type:"GET",
        async:false,
        dataType:"application/json",
        success:function (data) {
            navigatorModal = data.data;
        },
        error:function (er) {
            console.log("request main navigator error!");
            console.log(JSON.stringify(er));
        }
    })
}